<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Scene - Three.js Docs</title>
	<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<script src="../scripts/highlight.min.js"></script>
	<link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
	<link type="text/css" rel="stylesheet" href="../styles/page.css">
</head>
<body>
		<p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Object3D.html">Object3D</a> → </p>
	<h1 translate="no">Scene</h1>
		<section>
			<header>
				<div class="class-description"><p>Scenes allow you to set up what is to be rendered and where by three.js.
This is where you place 3D objects like meshes, lines or lights.</p></div>
			</header>
			<article>
				<div class="container-overview">
					<h2>Constructor</h2>
					<h3 class="name name-method" id="Scene" translate="no">new <a href="#Scene">Scene</a><span class="signature">()</span> </h3>
					<div class="method">
						<div class="description">
							<p>Constructs a new scene.</p>
						</div>
					</div>
				</div>
				<h2 class="subsection-title">Properties</h2>
				<div class="member">
					<h3 class="name" id="background" translate="no">.<a href="#background">background</a><span class="type-signature"> : <a href="Color.html">Color</a> | <a href="Texture.html">Texture</a></span> </h3>
					<div class="description">
						<p>Defines the background of the scene. Valid inputs are:</p>
<ul>
<li>A color for defining a uniform colored background.</li>
<li>A texture for defining a (flat) textured background.</li>
<li>Cube textures or equirectangular textures for defining a skybox.</li>
</ul>
						<p>Default is <code>null</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="backgroundBlurriness" translate="no">.<a href="#backgroundBlurriness">backgroundBlurriness</a><span class="type-signature"> : number</span> </h3>
					<div class="description">
						<p>Sets the blurriness of the background. Only influences environment maps
assigned to <a href="Scene.html#background">Scene#background</a>. Valid input is a float between <code>0</code>
and <code>1</code>.</p>
						<p>Default is <code>0</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="backgroundIntensity" translate="no">.<a href="#backgroundIntensity">backgroundIntensity</a><span class="type-signature"> : number</span> </h3>
					<div class="description">
						<p>Attenuates the color of the background. Only applies to background textures.</p>
						<p>Default is <code>1</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="backgroundRotation" translate="no">.<a href="#backgroundRotation">backgroundRotation</a><span class="type-signature"> : <a href="Euler.html">Euler</a></span> </h3>
					<div class="description">
						<p>The rotation of the background in radians. Only influences environment maps
assigned to <a href="Scene.html#background">Scene#background</a>.</p>
						<p>Default is <code>(0,0,0)</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="environment" translate="no">.<a href="#environment">environment</a><span class="type-signature"> : <a href="Texture.html">Texture</a></span> </h3>
					<div class="description">
						<p>Sets the environment map for all physical materials in the scene. However,
it's not possible to overwrite an existing texture assigned to the <code>envMap</code>
material property.</p>
						<p>Default is <code>null</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="environmentIntensity" translate="no">.<a href="#environmentIntensity">environmentIntensity</a><span class="type-signature"> : number</span> </h3>
					<div class="description">
						<p>Attenuates the color of the environment. Only influences environment maps
assigned to <a href="Scene.html#environment">Scene#environment</a>.</p>
						<p>Default is <code>1</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="environmentRotation" translate="no">.<a href="#environmentRotation">environmentRotation</a><span class="type-signature"> : <a href="Euler.html">Euler</a></span> </h3>
					<div class="description">
						<p>The rotation of the environment map in radians. Only influences physical materials
in the scene when <a href="Scene.html#environment">Scene#environment</a> is used.</p>
						<p>Default is <code>(0,0,0)</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="fog" translate="no">.<a href="#fog">fog</a><span class="type-signature"> : <a href="Fog.html">Fog</a> | <a href="FogExp2.html">FogExp2</a></span> </h3>
					<div class="description">
						<p>A fog instance defining the type of fog that affects everything
rendered in the scene.</p>
						<p>Default is <code>null</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="isScene" translate="no">.<a href="#isScene">isScene</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
					<div class="description">
						<p>This flag can be used for type testing.</p>
						<p>Default is <code>true</code>.</p>
					</div>
				</div>
				<div class="member">
					<h3 class="name" id="overrideMaterial" translate="no">.<a href="#overrideMaterial">overrideMaterial</a><span class="type-signature"> : <a href="Material.html">Material</a></span> </h3>
					<div class="description">
						<p>Forces everything in the scene to be rendered with the defined material. It is possible
to exclude materials from override by setting <a href="Material.html#allowOverride">Material#allowOverride</a> to <code>false</code>.</p>
						<p>Default is <code>null</code>.</p>
					</div>
				</div>
				<h2 class="subsection-title">Source</h2>
				<p>
					<a href="https://github.com/mrdoob/three.js/blob/master/src/scenes/Scene.js" translate="no" target="_blank" rel="noopener">src/scenes/Scene.js</a>
				</p>
			</article>
		</section>
<script src="../scripts/linenumber.js"></script>
<script src="../scripts/page.js"></script>
</body>
</html>